#pragma once

#include "door.h"

class CKeyDoor : public CDoor
{
private:
	bool bLocked;

public:
	bool GetLocked() const { return bLocked; }

	void SetLocked(bool val) { bLocked = val; }

	virtual void HandleCollision(const IEntity* pOther) override;
	virtual void Interacted(CPlayer* pPlayer) override;
};

